package com.naodong.shenluntiku.mvp.model.error;

/**
 * Created by hujie on 17/5/8.
 */

public interface ErrorCode {

    //对应HTTP的状态码
    int SUCCESS = 200;
    int CODE_202 = 202;
    int CODE_203 = 203;
    int CODE_204 = 204;
    int UNAUTHORIZED = 401;
    int FORBIDDEN = 403;
    int NOT_FOUND = 404;
    int REQUEST_TIMEOUT = 408;
    int INTERNAL_SERVER_ERROR = 500;
    int BAD_GATEWAY = 502;
    int SERVICE_UNAVAILABLE = 503;
    int GATEWAY_TIMEOUT = 504;

    int PARSE_ERROR = 10001;
    int NET_ERROR = 10002;
    int UNKNOW_ERROR = 10003;
}
